package com.org.javabody.isornot;

/**
 * Created by Administrator on 2017-03-30.
 */
public class GetObject implements ReturnInterface{

    @Override
    public String getString(String obj) {
        return obj;
    }

    @Override
    public String getObject(Object obj) {
        return obj==null?"null值":"".equals(obj)?"空值":obj.toString();
    }
}
